<%-- 
    Document   : DetailUser
    Created on : Oct 18, 2011, 10:47:18 PM
    Author     : Tunp
--%>

<%@ include file="/WEB-INF/jsp/include.jsp" %> 
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>User detail</title>
    </head>
    <body>
        <h1>User Detail</h1>
        <table>
            <tr>
                <td>
                    <b>User Id:</b>
                </td>
                <td>
                    ${user.userId}
                </td>
            </tr>
            <tr>
                <td>
                    <b>Username:</b>
                </td>
                <td>
                    ${user.username}
                </td>
            </tr>
            <tr>
                <td>
                    <b>User:</b>
                </td>
                <td>
                    ${user.name}
                </td>
            </tr>
            <tr>
                <td>
                    <b>Email:</b>
                </td>
                <td>
                    ${user.email}
                </td>
            </tr>
            <tr>
                <td>
                    <b>Role:</b>
                </td>
                <td>
                    ${user.userRoles.roleName}
                </td>
            </tr>
            <tr>
                <td>
                    <b>Merchant:</b>
                </td>
                <td>
                    ${user.merchant.merchantName}
                </td>
            </tr>
            <tr>
                <td>
                    <b>Status:</b>
                </td>
                <td>
                    ${user.userstatus.status}
                </td>
            </tr>
            <tr>
                <td>
                    <a href="userlist.htm"><b> Back to list users </b> </a>
                </td>
                <td>
                    <a href="userlist.htm?del_id=${user.userId}"><b> Delete user </b> </a>
                </td>
            </tr>
        </table>
    </body>
</html>
